﻿using System.ComponentModel;
using CozeDomain.Base;
using FreeSql.DataAnnotations;

namespace CozeDomain.Entities
{
    /// <summary>
    /// 我的收藏项目
    /// </summary>
    [Table(Name = "MyCollection")]
    [Description("站点所属项目")]
    public class MyCollectionEntity : BaseTenantsEntity
    {
        /// <summary>
        /// 所属项目ID
        /// </summary>
        [Column(DbType = "varchar", StringLength = 36)]
        [Description("所属项目ID")]
        public string? ProjectId { get; set; }

        /// <summary>
        /// 所属项目ID
        /// </summary>
        [Column(DbType = "varchar", StringLength = 36)]
        [Description("所属项目ID")]
        public string? UserId { get; set; }
    }
}
